import java.io.*;
public class SpecialFileMaker
{
    public static void main(String args[])
    {
        String file_name = args[0];
        File f = new File(file_name);
        try{        
        boolean success = f.createNewFile();
        if(success)
        {
            System.out.println("success");
        }
        else
        {
            System.out.println("failed");
        }
        }
        catch (IOException e)
        {
            System.err.println(e.getMessage());
        }
        System.out.println(file_name);
    }
}